import java.util.*;

/**
 * Created whit IntelliJ IDEA.
 * Description：
 * User：ZHONGCHEN
 * Date:2022-05-21
 * Time:23:14
 */
public class TestDemo {
    /**
     * 在数组中找出出现次数刚好为数组长度一半的数字
     *
     * @param args
     */
    public static void main1(String[] args) {
        int[] nums = {1, 2, 3, 3};
        System.out.println(repeatedNTimes(nums));
    }

    public static int repeatedNTimes(int[] nums) {
        int length = nums.length;
        int[] num = new int[10000];
        for (int i = 0; i < length; i++) {
            num[nums[i]]++;
        }
        for (int i = 0; i < num.length; i++) {
            if (num[i] == length / 2) {
                return num[i];
            }
        }
        return -1;
    }

    public static void main2(String[] args) {
        Scanner s = new Scanner(System.in);
        while (s.hasNext()) {
            String s1 = s.nextLine();
            String[] c = s1.split(" ");
            int sum = 0;
            for (String c1 : c) {
                sum += Integer.parseInt(c1);
            }
            System.out.println(sum);
        }
    }

    public static void main3(String[] args) {
        Scanner s = new Scanner(System.in);
        while (s.hasNext()) {
            int num = s.nextInt();
            String[] str = new String[num];
            for (int i = 0; i < num; i++) {
                str[i] = s.next();
            }
            Arrays.sort(str);
            StringBuilder ans = new StringBuilder();
            for (int i = 0; i < num; i++) {
                if (i != num - 1) {
                    ans.append(str[i] + " ");
                } else {
                    ans.append(str[i]);
                }
            }
            System.out.println(ans);
        }
    }


    public static void main4(String[] args) {
        Scanner s = new Scanner(System.in);
        while (s.hasNext()) {
            String tmp = s.nextLine();
            String[] a = tmp.split(" ");
            Arrays.sort(a);
            StringBuilder ans = new StringBuilder();
            for (int i = 0; i < a.length; i++) {
                if (i != a.length - 1) {
                    ans.append(a[i] + ",");
                } else {
                    ans.append(a[i]);
                }
            }
            System.out.println(ans);
        }
    }

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        while(s.hasNext()){
            String a = s.next();
            String b = s.next();
            Long sum = Long.parseLong(a) + Long.parseLong(b);
            System.out.println(sum);
            ArrayList<Integer> lists = new ArrayList<>();
            Iterator<Integer> iterator = lists.iterator();
            while (iterator.hasNext()){
                Integer c =  iterator.next();
            }
            PriorityQueue<Integer> queue = new PriorityQueue<>();
            Deque<Integer> deque = new ArrayDeque<>();
            Queue<Integer>  queue1 = new ArrayDeque<>();
            HashMap<Integer,Integer> map  = new HashMap<>();
            for (Map.Entry<Integer,Integer> set: map.entrySet()) {
                set.getKey();
                set.getValue();
            }


            List<String> list = new ArrayList<String>();
            list.add("a");
            list.add("b");
            list.add("b");
            list.add("c");
            list.add("b");
            Iterator<String> iter = list.iterator();
            while(iter.hasNext()){
                String ss = iter.next();
                if(s.equals("b")){
                    iter.remove();
                }
            }
            System.out.println(list);
        }
    }
}
